﻿using WMS.FC.Domain.DomainObject.System;

namespace WMS.FC.Domain.Service.System.Interface
{
    public interface IApiHelper
    {
        /// <summary>
        /// 调用接口
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="api"></param>
        /// <param name="data"></param>
        /// <returns></returns>
        Task<ActionResult<T>> Call<T>(string api, object data) where T : class, new();
    }
}
